#ifndef _H_SLABEL
#define _H_SLABEL

#include <String>

using namespace std;

class sLabel{

    protected:
        unsigned short unChkSum;

    public:
        string strVal;
        sLabel();
        sLabel(string*);
        sLabel(char*);
        sLabel(sLabel*);
        ~sLabel();

        void update();
        unsigned short getChkSum();

        static unsigned short calcChkSum(char*);

        bool operator==(sLabel &);
        bool operator==(string &);
        bool operator==(char*);

};

#endif
